package com.qf.service.impl;

import com.qf.entity.Demo;
import com.qf.mapper.DemoMapper;
import com.qf.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author li
 * @Date 2024/12/22 22:02
 * @Version 1.0
 */
@Service
public class DemoServiceImpl implements DemoService {
    @Autowired
    private DemoMapper demoMapper;

    @Override
    public List<Demo> demoList() {
        List<Demo> demoList = demoMapper.demoList();
        return demoList;
    }
}
